<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
  <head>
    <title>转账系统首页</title>
  </head>
  <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
  <body>
     <div style="width: 500px;margin: auto">
       <h1 align="center">欢迎使用转账系统</h1>
       <c:if test="${sessionScope.user == null}">
         <h2>用户未<a href="login.jsp">登录</a></h2>
       </c:if>
       <c:if test="${sessionScope.user != null}">
         <h2>欢迎<font style="color: #46ff00">${sessionScope.user.uname}</font>进入系统</h2>
         <h1><a href="./main.jsp">点击开始转账</a></h1>
       </c:if>
     </div>
  </body>
</html>
